package com.itheima.stock.service.Impl;

import com.itheima.stock.entity.StockBusiness;
import com.itheima.stock.mapper.StockBusinessMapper;
import com.itheima.stock.service.StockBusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 *
 * @author blusr
 * @version 1.0
 * @date 2025/10/21 14:20
 */
@Service
public class StockBusinessServiceImpl implements StockBusinessService {
    @Autowired
    private StockBusinessMapper stockBusinessMapper;

    @Override
    public List<StockBusiness> getAll() {
        return stockBusinessMapper.selectAll();
    }
}
